import {createRouter, createWebHistory} from 'vue-router'
const router=createRouter({
    history:createWebHistory(),
    routes:[//路由映射
        {
            path:"/",component:()=>import("../views/Home.vue")
        },
        {
            path:"/hello",component:()=>import("../views/Hello.vue")
        }
    ]
})
export default router;